SymbDistCrvPoint
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
SymbDistCrvPoint()
SYNOPSIS
symb_lib/distance.c:47
CagdRType SymbDistCrvPoint(CagdCrvStruct *Crv,
CagdPType Pt,
CagdBType MinDist,
CagdRType Epsilon)
DESCRIPTION
Given a curve and a point, finds the nearest point (if MinDist) or the
farest location (if MinDist FALSE) from the curve to the given point.
Returned is the parameter value of the curve.
Computes the zero set of (Crv(t) - Pt) . Crv'(t).
PARAMETERS:
Crv: The curve to find its nearest (farest) point to Pt.
Pt: The point to find the nearest (farest) point on Crv to it.
MinDist: If TRUE nearest points is needed, if FALSE farest.
Epsilon: Accuracy of computation.
FUNCTION RETURN VALUE
CagdRType: Parameter value in the parameter space of Crv of the
nearest (farest) point to point Pt.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:17 GMT, October 17, 2022